package com.jz.subclass.service.impl;

import com.jz.subclass.entity.Subclass;
import com.jz.subclass.mapper.SubclassMapper;
import com.jz.subclass.service.ISubclassService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 备件小类表 服务实现类
 * </p>
 *
 * @author jobob
 * @since 2021-12-28
 */
@Service
public class SubclassServiceImpl extends ServiceImpl<SubclassMapper, Subclass> implements ISubclassService {


    @Autowired
    private  SubclassMapper subclassMapper;
    @Override
    public List<Subclass> queryAll() {

       List<Subclass> subclassList =  subclassMapper.selectList(null);
        return subclassList;
    }
}
